﻿using B.R.RabbitRoot.ErrorCode;
using MediatR;

namespace B.R.RabbitRoot.Write.API.Applications.Commands.FarmInfoCommands
{
    /// <summary>
    /// 企业信息
    /// </summary>
    public class FarmInfoCreamCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 溯源外键
        /// </summary>
        public int SourceInfoId { get; set; }
        /// <summary>
        /// 养殖场
        /// </summary>
        public string FarmName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string ResponsiblePerson { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int LivestockCount { get; set; }
    }
}
